//
//  ColorModel.m
//  grainHouse
//
//  Created by 北风 on 14-10-22.
//  Copyright (c) 2014年 北风. All rights reserved.
//

#import "ColorModel.h"

@implementation ColorModel

- (instancetype)initWithspaceModelWithUid:(NSString *)uid categoryId:(NSString *)categoryId cnCatName:(NSString *)cnCatName enCatName:(NSString *)enCatName pid:(NSString *)pid
{
    self = [super init];
    if (self) {
        
        self.uid = uid;
        self.categoryId = categoryId;
        self.cnCatName = cnCatName;
        self.enCatName = enCatName;
        self.pid = pid;
        
    }
    return self;
}




+(ColorModel *)spaceModelWithUid:(NSString *)uid categoryId:(NSString *)categoryId cnCatName:(NSString *)cnCatName enCatName:(NSString *)enCatName pid:(NSString *)pid{
    
    ColorModel *model = [[ColorModel alloc] initWithspaceModelWithUid:uid categoryId:categoryId cnCatName:cnCatName enCatName:enCatName pid:pid];
    
    return [model autorelease];
    
}


@end




